#ifndef SAVINGSACCOUNT_HH
#define SAVINGSACCOUNT_HH

#include "Account.hh"
#include "main.hh"

class SavingsAccount : public Account {
public:
    SavingsAccount(const std::string& id, Customer* holder, double initialBalance = 0.0);

    void deposit(double amount, const std::string& note = "") override;
    void withdraw(double amount, const std::string& note = "") override;
    void transfer(Account* destination, double amount, const std::string& note = "") override;

    void displayAccountInfo() const override;
};

#endif // SAVINGSACCOUNT_HH